<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:util="http://java.sun.com/jsf/composite/util"
      xmlns:h="http://java.sun.com/jsf/html">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Exemplo Composite Components</title>
</h:head>
<h:body>
	<h2>Exemplo Composite Components JSF 2</h2>
	<h:form>
		<util:campoTexto id="nome" label="Nome: " value="#{produtoBean.produto.nome}" /><br/>
		<util:ajaxButton action="#{produtoBean.grava}" value="Clique-me"></util:ajaxButton>
	</h:form>
</h:body>
</html>